﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace 易容酒店管理系统
{
    class Method
    {
        public static bool Bool;//判断登陆是否成功
        public static main frm;//窗体对象
        public static string UserName;//获取当前用户名称
        public static string type;//获取当前员工的职位信息
        public static bool Bool2;//判断是否入住完成
        public static string RoomID;
        //推送测试
        public static string test;
        public static void SetDouble(Control cc)
        {

            cc.GetType().GetProperty("DoubleBuffered", System.Reflection.BindingFlags.Instance |
                         System.Reflection.BindingFlags.NonPublic).SetValue(cc, true, null);
        }
    }
}
